From 16aa7eb930ec171e7518e665b5a4f8ac22bfe19c Mon Sep 17 00:00:00 2001 From: SymphonySimper <164710-SymphonySimper@users.noreply.gitlab.gnome.org> Date: Sat, 22 Nov 2025 18:31:05 +0530 Subject: [PATCH] messageList: Check if Message is expanded Check if Message is expanded in expand method, to prevent rerunning the expand animation when it's already expanded Part-of: (cherry picked from commit 2f08a95b1efdef83a48e3d261937469070967d0a) --- js/ui/messageList.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/js/ui/messageList.js b/js/ui/messageList.js index dfcc69d81..169f8900d 100644 --- a/js/ui/messageList.js +++ b/js/ui/messageList.js @@ -619,6 +619,9 @@ export const Message = GObject.registerClass({ } expand(animate) { + if (this.expanded) + return; + this.expanded = true; this._actionBin.visible = !!this._actionBin.child; -- 2.39.5